package com.zjj.lbw.interview.common;

/**
 * @author zhanglei.zjj
 * @description 算法 面试突击-公共包-二叉树通用实体类
 * @date 2023/9/2 18:16
 */
public class TreeNode {
    public int val;
    public TreeNode left;
    public TreeNode right;
    public int depth;

    public TreeNode(int val, TreeNode left, TreeNode right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }
}
